package com.spring.gll.dao;

import com.spring.gll.model.OtherTeacher;
import com.spring.gll.model.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TeacherDao {
    public void add(Teacher t);

    public void delete(int i);

    public void update(Teacher t);

    public List<Teacher> select() ;

    public void update1(@Param("name") String name, @Param("id") Integer id);

    public List<Teacher> selectMap(Map<String,Object> map);

    public void updateByTeacher(Teacher teacher);

    public List<Teacher> selectIds(String ids);

    public List<Teacher> selectByIds(List<Integer> integers);

    public List<Teacher> select2(String name);

    public List<Teacher> selectResultMap();

    public OtherTeacher getClassByOne();

    public List<OtherTeacher> getClassMore();

    public Teacher selectHC(@Param("id")Integer id);

}
